﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Bootstrap内联风格的表单</title>
    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
    <div class="container">
        <form class="form-inline">
            <div class="form-group">
                <label for="username" class="sr-only">用户名</label>
                <input type="text" id="username" class="form-control" placeholder="用户名" />
            </div>
            <div class="form-group">
                <label for="password" class="sr-only">密码</label>
                <input type="password" id="password" class="form-control" placeholder="密码" />
            </div>
            <div class="checkbox">
                <label>
                    <input type="checkbox" />记住我
                </label>
            </div>
            <button type="button" id="btnLogin" class="btn btn-default">登录</button>
        </form>
    </div>
</body>
</html>
